package com.engine4cloud.tdf.supervision.dto.update;

import com.engine4cloud.tdf.common.core.constant.enums.CorAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * 社区矫正人员状态-更改
 *
 * @author wenjie
 * @date 2024-03-14 11:20:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "社区矫正人员状态-更改")
public class JzdxUpdateStatusDTO implements Serializable {

    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号")
    @NotBlank(message = "矫正对象编号不能为空")
    private String code;

    /**
     * 部门id
     */
    @Schema(description = "部门id")
    @NotNull(message = "部门id不能为空")
    private Long deptId;

    /**
     * 状态
     */
    @Schema(description = "状态")
    @NotBlank(message = "状态不能为空")
    private CorAuditActionStatusEnum status;
}